<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Dilithium 初始化集群</title>
    <script type="text/javascript">
     function vMiddle(){
        var middleDiv=document.getElementById("wrap");
        var divHeight=middleDiv.offsetHeight;
        var bodyHeight=document.body.offsetHeight ;
        if(bodyHeight>divHeight)
        	   middleDiv.style.marginTop=-divHeight/2+"px";
        else{
        	   middleDiv.style.marginTop=0;
            middleDiv.style.top=0;
           }
      }
    </script>
<link rel="stylesheet" type="text/css" href="common/my.css" />
<style type="text/css">
    html,body{height:100%;padding:0;margin:0;}
    #wrap{width:600px;margin:0 auto;border:0px solid black;position:absolute;top:37%;left:50%;margin-left:-300px;}
</style>
</head>
<body onload="vMiddle();">
	<font size=2>
	<div id=wrap>
    <form align="center" wicket:id="form">
   		<br/>
   		<br/>
   		<br/>
   		<br/>
   		<div class="header">初始化集群</div>
   		<br/>
   		<span wicket:id="border" >
    			<table width="600" border="1" bordercolor="black" >
    			   <tr><td class="default" colspan=2>基本信息</td>
    				    <td class="default">节点信息(可以输入多个,以回车分割)：</td></tr>
    				<tr>
    				    <td class="label">集群名称：</td>
    				    <td><input class="editbox" type="text" wicket:id="clusterName" /></td>
    				    <td rowspan=10><textarea class="multieditbox" rows=5 cols=20 wicket:id="nodeIps"></textarea><span style="color:red">*</span></td>    				   
               </tr>	
    				<tr>
    				    <td class="label">集群描述：</td>
    				    <td><input class="editbox" type="text" wicket:id="clusterDesc" /></td>
    			   </tr>
    			   <tr><td class="default" colspan=2>GTM信息：</td></tr>
    				<tr><td class="label">GTM 主ip：</td><td><input class="editbox" type="text" wicket:id="gtmMasterIp" /><span style="color:red">*</span></td></tr>
               <tr><td class="label">GTM 备ip：</td><td><input class="editbox" type="text" wicket:id="gtmSlaveIp" /></td></tr>
               </table>	
    		</span>
    		<br/>
		<input type="submit" wicket:id="submit" value="初始化"/>
		<input type="submit" wicket:id="cancel" value="取消"/>
	</form>
	<br/>
	<br/>
	<br/>
	
	<span>提示</span>
	<span style="color:red" wicket:id ="feedback"></span>
	<br/>
	
	</div>
	</font>
	
</body>
</html>